export default {
  install(Vue) {
    const requiremoudle = require.context("@/comm", true, /\.vue/)
    const components = requiremoudle.keys().map(item => requiremoudle(item))
    components.forEach(({
      default: module
    }) => {
      Vue.component(module.name, module)
    }
    );
  }
}
